package org.csu.petserver.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.sql.Date;

@Data
@TableName("orders")
@Repository
public class Order {

    @TableId("orderid")
    private Integer id;

    private String userid;

    private Date orderdate;

    @TableField("shipcountry")
    private String country;

    @TableField("shipzip")
    private String zip;

    @TableField("shipstate")
    private String state;

    @TableField("shipcity")
    private String city;

    @TableField("shipaddr1")
    private String address;

    private BigDecimal totalprice;

    private Integer status;

}
